package cn.dazhou.emergency_video

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RestController
@RequestMapping("/EmergencyVideo")
@SpringBootApplication
class EmergencyVideoApplication {

    @GetMapping("/hello")
    fun hello() = "Hello World!"
}

fun main(args: Array<String>) {
    runApplication<EmergencyVideoApplication>(*args)
}
